package com.zem.imos.Mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zem.imos.Entity.DrugsOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DrugsorderMapper extends BaseMapper<DrugsOrder> {
    IPage<List<DrugsOrder>> selectAllDrugsorder(Page page, @Param(Constants.WRAPPER) Wrapper wrapper);
    List<Map> selectOrderList(@Param(Constants.WRAPPER) Wrapper wrapper);
    IPage<List<DrugsOrder>> selectDrugsRecord(Page page, @Param(Constants.WRAPPER) Wrapper wrapper);
}

